<!DOCTYPE html>
<html>
	<script>
		function Parent() {

		}


		Parent.test = function() {
			alert(1);
		}

		Parent.prototype.test1 = function() {
			console.log(this)
		}

		Parent.test();

		var p = new Parent();
		p.test1();
	</script>
</html>